<form id="modelBizLayerForm" lay-filter="modelBizLayerForm" class="layui-form model-form" style="padding: 1px;height: calc(100vh - 160px)">
	<input name="id" type="hidden" id="bizLayerId" value="#(layer?layer.id:'')" />
	<input name="parentId" type="hidden"  value="#(parentLayer?parentLayer.id:'')" />
	<table class="formTable" id="modelBizLayerFormTable">
		<tr>
			<td>名称</td>
			<td>
				<input name="name" value="#(layer?layer.name:'')" placeholder="" autocomplete="off" type="text" class="layui-input" maxlength="10" lay-verType="tips"
				 lay-verify="required" required />
			</td>
		</tr>
		<tr>
			<td>标识</td>
			<td>
				<input name="code" value="#(layer?layer.code:'')" placeholder="" maxlength="20" autocomplete="off" type="text" class="layui-input" />
			</td>
		</tr>
		<tr>
			<td>类型</td>
			<td>
				<select name="type" lay-filter="type" lay-verify="required" required>
					<option value="">--请选择--</option>
					<option value="Group" #if(layer && layer.type=='Group') selected #end ></option>
					<option value="Points" #if(layer && layer.type=='Points') selected #end >点</option>
					<option value="Polylines" #if(layer && layer.type=='Points') selected #end >线</option>
					<option value="Polygons" #if(layer && layer.type=='Points') selected #end >面</option>
				</select>
			</td>
		</tr>		
		<tr>
			<td>序号:</td>
			<td>
				<input name="sort" value="#(layer?layer.sort:0)" autocomplete="off" placeholder="请输入序号" type="number" class="layui-input" maxlength="20"/>
			</td>
		</tr>
		<tr>
			<td style="text-align: right;" colspan="2">
				<button class="layui-btn layui-btn-orange" lay-filter="submitBizLayerForm" lay-submit>保存</button>
			</td>
		</tr>
	</table>
</form>